package com.aspose.cells;

import java.util.ArrayList;
import java.util.List;

class zbkq implements zbfn {
   private zblx n;
   private int o;
   private float p;
   private float q;
   private float r;
   private float s;
   private int t;
   private zvm u;
   private zaly v;
   private com.aspose.cells.b.a.b.zg w;
   private Color x;
   private int y;
   private int z;
   private int A;
   private int B;
   private boolean C;
   private float D;
   private float E;
   private float F;
   private float G;
   private zbsn H;
   private zbcy I;
   private zacc J;
   private zany K;
   private String L;
   private ArrayList M;
   private com.aspose.cells.b.a.b.zo N;
   private int O;
   private List P;
   private List Q;
   private String R;
   private int S;
   private boolean T;
   private boolean U;
   private com.aspose.cells.b.a.b.zq V;
   private int W;
   private int X;
   private int Y;
   public int a;
   public ArrayList b;
   public zbkq c;
   public boolean d;
   public boolean e;
   public boolean f;
   public Chart g;
   public Shape h;
   public com.aspose.cells.b.a.b.zo i;
   public com.aspose.cells.b.a.b.zo j;
   com.aspose.cells.b.a.b.zq k;
   private com.aspose.cells.b.a.b.zq Z;
   private boolean aa;
   public zach l;
   private int ab;
   private int ac;
   private int ad;
   private int ae;
   private int af;
   private float ag;
   private float ah;
   private zn ai;
   private boolean aj;
   boolean m;

   zbsn a() {
      return this.H;
   }

   void a(zbsn var1) {
      this.H = var1;
   }

   zbcy b() {
      return this.I;
   }

   void a(zbcy var1) {
      this.I = var1;
   }

   zacc c() {
      return this.J;
   }

   void a(zacc var1) {
      this.J = var1;
   }

   zany d() {
      return this.K;
   }

   void a(zany var1) {
      this.K = var1;
   }

   public zbkq(zblx var1, int var2) {
      this.t = 0;
      this.u = null;
      this.v = null;
      this.w = zbul.a;
      this.x = Color.getBlack();
      this.y = 7;
      this.z = 9;
      this.A = 0;
      this.B = 2;
      this.C = true;
      this.D = 0.0F;
      this.E = 0.0F;
      this.F = 0.0F;
      this.G = 0.0F;
      this.H = null;
      this.I = null;
      this.K = null;
      this.L = "";
      this.M = new ArrayList();
      this.N = com.aspose.cells.b.a.b.zo.a();
      this.O = 0;
      this.P = new ArrayList();
      this.Q = new ArrayList();
      this.R = "";
      this.S = 0;
      this.V = new com.aspose.cells.b.a.b.zq(0.0F, 0.0F, 0.0F, 0.0F);
      this.a = 1;
      this.b = new ArrayList();
      this.d = false;
      this.e = false;
      this.f = false;
      this.g = null;
      this.h = null;
      this.i = com.aspose.cells.b.a.b.zo.a();
      this.j = com.aspose.cells.b.a.b.zo.a();
      this.k = new com.aspose.cells.b.a.b.zq(0.0F, 0.0F, 0.0F, 0.0F);
      this.aa = false;
      this.l = null;
      this.aj = false;
      this.m = false;
      this.n = var1;
      this.o = var2;
      this.u = new zvm(this);
      this.v = new zaly(this);
   }

   public zbkq(int var1) {
      this((zblx)null, var1);
   }

   public int e() {
      return this.o;
   }

   public float f() {
      return this.p;
   }

   public void a(float var1) {
      this.p = var1;
   }

   public float g() {
      return this.q;
   }

   public void b(float var1) {
      this.q = var1;
   }

   public float h() {
      return this.r;
   }

   public void c(float var1) {
      this.r = var1;
   }

   public float i() {
      return this.s;
   }

   public void d(float var1) {
      this.s = var1;
   }

   public int j() {
      return this.t;
   }

   public void a(int var1) {
      if (var1 < 0) {
         this.t = 360 + var1 % 360;
      } else if (var1 > 360) {
         this.t = var1 % 360;
      } else {
         this.t = var1;
      }

   }

   public com.aspose.cells.b.a.b.zq k() {
      return new com.aspose.cells.b.a.b.zq(this.r, this.s, this.p, this.q);
   }

   public zvm l() {
      return this.u;
   }

   public zaly m() {
      return this.v;
   }

   public com.aspose.cells.b.a.b.zg n() {
      return this.w;
   }

   public void a(com.aspose.cells.b.a.b.zg var1) {
      this.w = var1;
   }

   public Color o() {
      return this.x;
   }

   public void a(Color var1) {
      this.x = var1;
   }

   public int p() {
      return this.y;
   }

   public void b(int var1) {
      this.y = var1;
   }

   public int q() {
      return this.z;
   }

   public void c(int var1) {
      this.z = var1;
   }

   public int r() {
      return this.A;
   }

   public int s() {
      return this.B;
   }

   public void d(int var1) {
      this.B = var1;
   }

   public String t() {
      return this.L;
   }

   public void a(String var1) {
      this.L = var1;
   }

   public ArrayList u() {
      return this.M;
   }

   public int v() {
      return this.O;
   }

   public void e(int var1) {
      this.O = var1;
   }

   public List w() {
      return this.P;
   }

   public int x() {
      return this.S;
   }

   public List y() {
      return this.Q;
   }

   public void a(List var1) {
      this.Q = var1;
   }

   public String z() {
      return this.R;
   }

   public void b(String var1) {
      this.R = var1;
   }

   public int A() {
      return this.W;
   }

   public void f(int var1) {
      this.W = var1;
   }

   public int B() {
      return this.X;
   }

   public void g(int var1) {
      this.X = var1;
   }

   public int C() {
      return this.Y;
   }

   public void h(int var1) {
      this.Y = var1;
   }

   public boolean D() {
      return this.T;
   }

   public void a(boolean var1) {
      this.T = var1;
   }

   public boolean E() {
      return this.U;
   }

   public void b(boolean var1) {
      this.U = var1;
   }

   com.aspose.cells.b.a.b.zq F() {
      if (!this.aa) {
         this.U();
      }

      return this.Z;
   }

   public void a(zn var1, boolean var2) throws Exception {
      if (!this.aa) {
         this.U();
      }

      if (var2) {
         this.V();
      }

      var1.d();
      switch(this.e()) {
      case 0:
         for(int var3 = 0; var3 < this.b.size(); ++var3) {
            zbkq var4 = (zbkq)this.b.get(var3);
            if (var4.e) {
               Chart var5 = var4.g;
               com.aspose.cells.b.a.d.zh var6 = new com.aspose.cells.b.a.d.zh();

               try {
                  var5.a((com.aspose.cells.b.a.d.zm)var6, (ImageFormat)ImageFormat.getEmf());
                  if (var6.h() > 0L) {
                     com.aspose.cells.b.a.b.zj var7 = com.aspose.cells.b.a.b.zj.a((com.aspose.cells.b.a.d.zm)var6);

                     try {
                        if (var7.i() > 0 && var7.h() > 0) {
                           com.aspose.cells.b.a.b.zq var8 = new com.aspose.cells.b.a.b.zq(0.0F, 0.0F, (float)var7.i(), (float)var7.h());
                           com.aspose.cells.b.a.b.zq var9 = var4.k();
                           var1.a(var7, var9, var8, 2);
                        }
                     } finally {
                        if (var7 != null) {
                           var7.b();
                        }

                     }
                  }
               } finally {
                  if (var6 != null) {
                     var6.a();
                  }

               }
            } else {
               var4.a(var1, false);
            }
         }

         return;
      case 1:
         zbgj.p(var1, this);
         break;
      case 2:
         zbgj.ax(var1, this);
         break;
      case 3:
         zbgj.c(var1, this);
      case 4:
      case 5:
      case 10:
      case 13:
      case 15:
      case 21:
      case 22:
      case 23:
      case 26:
      case 27:
      case 28:
      case 29:
      default:
         break;
      case 6:
         zbgj.a(var1, this);
         break;
      case 7:
         zbgj.f(var1, this);
         break;
      case 8:
         zbgj.n(var1, this);
         break;
      case 9:
         zbgj.r(var1, this);
         break;
      case 11:
         zbgj.g(var1, this);
         break;
      case 12:
         zbgj.h(var1, this);
         break;
      case 14:
         zbgj.d(var1, this);
         break;
      case 16:
         zbgj.m(var1, this);
         break;
      case 17:
         zbgj.l(var1, this);
         break;
      case 18:
         zbgj.i(var1, this);
         break;
      case 19:
         zbgj.e(var1, this);
         break;
      case 20:
         zbgj.j(var1, this);
         break;
      case 24:
         zbgj.o(var1, this);
         break;
      case 25:
         zbgj.k(var1, this);
         break;
      case 30:
         switch(this.H()) {
         case 0:
            zbgj.r(var1, this);
            break;
         case 1:
            zbgj.b(var1, this);
            break;
         case 2:
            zbgj.aB(var1, this);
            break;
         case 3:
            zbgj.aF(var1, this);
            break;
         case 4:
            zbgj.aA(var1, this);
            break;
         case 5:
            zbgj.aD(var1, this);
            break;
         case 6:
            zbgj.aE(var1, this);
            break;
         case 7:
            zbgj.ay(var1, this);
            break;
         case 8:
            zbgj.az(var1, this);
            break;
         case 9:
            zbgj.aG(var1, this);
            break;
         case 10:
            zbgj.aC(var1, this);
            break;
         case 11:
            zbgj.aH(var1, this);
            break;
         case 12:
            zbgj.bn(var1, this);
            break;
         case 13:
            zbgj.z(var1, this);
            break;
         case 14:
         case 17:
         case 18:
         case 24:
         case 25:
         case 26:
         case 27:
         case 28:
         case 29:
         case 30:
         case 31:
         case 75:
         case 100:
         case 129:
         case 137:
         case 138:
         case 139:
         case 140:
         case 141:
         case 142:
         case 143:
         case 144:
         case 145:
         case 146:
         case 147:
         case 148:
         case 149:
         case 150:
         case 151:
         case 152:
         case 153:
         case 154:
         case 155:
         case 156:
         case 157:
         case 158:
         case 159:
         case 160:
         case 161:
         case 162:
         case 163:
         case 164:
         case 165:
         case 166:
         case 167:
         case 168:
         case 169:
         case 170:
         case 171:
         case 173:
         case 174:
         case 175:
         case 189:
         case 190:
         case 191:
         case 192:
         case 193:
         case 194:
         case 195:
         case 196:
         case 197:
         case 198:
         case 199:
         case 200:
         case 201:
         default:
            if (this.c() != null && this.c().a().size() > 0) {
               zbgj.r(var1, this);
            }
            break;
         case 15:
            zbgj.K(var1, this);
            break;
         case 16:
            zbgj.aK(var1, this);
            break;
         case 19:
            zbgj.aV(var1, this);
            break;
         case 20:
            zbgj.p(var1, this);
            break;
         case 21:
            zbgj.aR(var1, this);
            break;
         case 22:
            zbgj.aJ(var1, this);
            break;
         case 23:
            zbgj.aO(var1, this);
            break;
         case 32:
            zbgj.p(var1, this);
            break;
         case 33:
            zbgj.u(var1, this);
            break;
         case 34:
            zbgj.q(var1, this);
            break;
         case 35:
            zbgj.s(var1, this);
            break;
         case 36:
            zbgj.t(var1, this);
            break;
         case 37:
            zbgj.w(var1, this);
            break;
         case 38:
            zbgj.v(var1, this);
            break;
         case 39:
            zbgj.x(var1, this);
            break;
         case 40:
            zbgj.y(var1, this);
            break;
         case 41:
            zbgj.bQ(var1, this);
            break;
         case 42:
            zbgj.bR(var1, this);
            break;
         case 43:
            zbgj.bS(var1, this);
            break;
         case 44:
            zbgj.bM(var1, this);
            break;
         case 45:
            zbgj.bN(var1, this);
            break;
         case 46:
            zbgj.bO(var1, this);
            break;
         case 47:
            zbgj.bE(var1, this);
            break;
         case 48:
            zbgj.bF(var1, this);
            break;
         case 49:
            zbgj.bG(var1, this);
            break;
         case 50:
            zbgj.bI(var1, this);
            break;
         case 51:
            zbgj.bJ(var1, this);
            break;
         case 52:
            zbgj.bK(var1, this);
            break;
         case 53:
            zbgj.aY(var1, this);
            break;
         case 54:
            zbgj.aX(var1, this);
            break;
         case 55:
            zbgj.L(var1, this);
            break;
         case 56:
            zbgj.aI(var1, this);
            break;
         case 57:
            zbgj.bh(var1, this);
            break;
         case 58:
            zbgj.bo(var1, this);
            break;
         case 59:
            zbgj.bp(var1, this);
            break;
         case 60:
            zbgj.br(var1, this);
            break;
         case 61:
            zbgj.bA(var1, this);
            break;
         case 62:
            zbgj.bB(var1, this);
            break;
         case 63:
            zbgj.bC(var1, this);
            break;
         case 64:
            zbgj.bu(var1, this);
            break;
         case 65:
            zbgj.aM(var1, this);
            break;
         case 66:
            zbgj.A(var1, this);
            break;
         case 67:
            zbgj.C(var1, this);
            break;
         case 68:
            zbgj.D(var1, this);
            break;
         case 69:
            zbgj.B(var1, this);
            break;
         case 70:
            zbgj.E(var1, this);
            break;
         case 71:
            zbgj.bk(var1, this);
            break;
         case 72:
            zbgj.bl(var1, this);
            break;
         case 73:
            zbgj.aP(var1, this);
            break;
         case 74:
            zbgj.bb(var1, this);
            break;
         case 76:
            zbgj.F(var1, this);
            break;
         case 77:
            zbgj.O(var1, this);
            break;
         case 78:
            zbgj.N(var1, this);
            break;
         case 79:
            zbgj.P(var1, this);
            break;
         case 80:
            zbgj.Q(var1, this);
            break;
         case 81:
            zbgj.R(var1, this);
            break;
         case 82:
            zbgj.S(var1, this);
            break;
         case 83:
            zbgj.T(var1, this);
            break;
         case 84:
            zbgj.aL(var1, this);
            break;
         case 85:
            zbgj.bi(var1, this);
            break;
         case 86:
            zbgj.bj(var1, this);
            break;
         case 87:
            zbgj.aS(var1, this);
            break;
         case 88:
            zbgj.aT(var1, this);
            break;
         case 89:
            zbgj.H(var1, this);
            break;
         case 90:
            zbgj.I(var1, this);
            break;
         case 91:
            zbgj.G(var1, this);
            break;
         case 92:
            zbgj.bq(var1, this);
            break;
         case 93:
            zbgj.M(var1, this);
            break;
         case 94:
            zbgj.J(var1, this);
            break;
         case 95:
            zbgj.aZ(var1, this);
            break;
         case 96:
            zbgj.aN(var1, this);
            break;
         case 97:
            zbgj.bs(var1, this);
            break;
         case 98:
            zbgj.bt(var1, this);
            break;
         case 99:
            zbgj.bg(var1, this);
            break;
         case 101:
            zbgj.bw(var1, this);
            break;
         case 102:
            zbgj.bc(var1, this);
            break;
         case 103:
            zbgj.bd(var1, this);
            break;
         case 104:
            zbgj.bf(var1, this);
            break;
         case 105:
            zbgj.be(var1, this);
            break;
         case 106:
            zbgj.bD(var1, this);
            break;
         case 107:
            zbgj.bx(var1, this);
            break;
         case 108:
            zbgj.by(var1, this);
            break;
         case 109:
            zbgj.V(var1, this);
            break;
         case 110:
            zbgj.as(var1, this);
            break;
         case 111:
            zbgj.Y(var1, this);
            break;
         case 112:
            zbgj.ak(var1, this);
            break;
         case 113:
            zbgj.ad(var1, this);
            break;
         case 114:
            zbgj.ac(var1, this);
            break;
         case 115:
            zbgj.ai(var1, this);
            break;
         case 116:
            zbgj.ap(var1, this);
            break;
         case 117:
            zbgj.av(var1, this);
            break;
         case 118:
            zbgj.af(var1, this);
            break;
         case 119:
            zbgj.ag(var1, this);
            break;
         case 120:
            zbgj.aw(var1, this);
            break;
         case 121:
            zbgj.W(var1, this);
            break;
         case 122:
            zbgj.al(var1, this);
            break;
         case 123:
            zbgj.ar(var1, this);
            break;
         case 124:
            zbgj.aq(var1, this);
            break;
         case 125:
            zbgj.X(var1, this);
            break;
         case 126:
            zbgj.an(var1, this);
            break;
         case 127:
            zbgj.au(var1, this);
            break;
         case 128:
            zbgj.ah(var1, this);
            break;
         case 130:
            zbgj.ao(var1, this);
            break;
         case 131:
            zbgj.am(var1, this);
            break;
         case 132:
            zbgj.ae(var1, this);
            break;
         case 133:
            zbgj.aa(var1, this);
            break;
         case 134:
            zbgj.ab(var1, this);
            break;
         case 135:
            zbgj.Z(var1, this);
            break;
         case 136:
         case 172:
            zbgj.bT(var1, this);
            break;
         case 176:
            zbgj.at(var1, this);
            break;
         case 177:
            zbgj.aj(var1, this);
            break;
         case 178:
            zbgj.bP(var1, this);
            break;
         case 179:
            zbgj.bL(var1, this);
            break;
         case 180:
            zbgj.bz(var1, this);
            break;
         case 181:
            zbgj.bH(var1, this);
            break;
         case 182:
            zbgj.U(var1, this);
            break;
         case 183:
            zbgj.aQ(var1, this);
            break;
         case 184:
            zbgj.ba(var1, this);
            break;
         case 185:
            zbgj.aW(var1, this);
            break;
         case 186:
            zbgj.aU(var1, this);
            break;
         case 187:
            zbgj.bm(var1, this);
            break;
         case 188:
            zbgj.bv(var1, this);
            break;
         case 202:
            zbgj.a(var1, this);
         }
      }

   }

   private void U() {
      this.Z = this.k();
      switch(this.e()) {
      case 0:
         this.Z = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
         this.Z.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
         break;
      case 1:
         this.Z = zbul.a(this);
         break;
      case 2:
         this.Z = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
         if (this.j() != 0 && this.j() != 180 && !this.T()) {
            this.Z = zbul.a(this.k(), this.j());
         }

         this.Z.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
         break;
      case 3:
      case 6:
      case 11:
      case 12:
         if (!this.m().a()) {
            this.Z.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
         }
      case 4:
      case 5:
      case 9:
      case 10:
      case 13:
      case 14:
      case 15:
      case 16:
      case 17:
      case 21:
      case 22:
      case 23:
      case 26:
      case 27:
      case 28:
      case 29:
      default:
         break;
      case 7:
      case 18:
      case 20:
         this.Z = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
         this.Z.a(0.5F, 0.5F);
         break;
      case 8:
      case 24:
         if (!this.m().a()) {
            this.Z.a(this.v.f(), this.v.f());
         }
         break;
      case 19:
         float var1 = 0.0F;
         if (this.t() != null && !"".equals(this.t())) {
            var1 = 12.0F;
         }

         this.Z = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
         this.Z.a(0.5F, 0.5F);
         this.Z.b(this.Z.g() - var1 / 2.0F);
         this.Z.d(this.Z.i() + var1 / 2.0F);
         break;
      case 25:
         this.Z = zbul.b(this, false);
         break;
      case 30:
         com.aspose.cells.b.a.b.zq var2;
         switch(this.H()) {
         case 13:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.a(this.k(), this.l, this.a, this.j());
            }

            var2.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
            break;
         case 32:
            var2 = zbul.a(this);
            break;
         case 33:
         case 34:
         case 35:
         case 36:
            var2 = this.Z;
            if (this.f() <= 1.0F) {
               var2.c(var2.h() + 2.0F);
               this.p += 2.0F;
            }

            if (this.g() <= 1.0F) {
               var2.d(var2.i() + 2.0F);
               this.q += 2.0F;
            }

            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.c(this);
               break;
            }

            var2 = zbul.b(this);
            break;
         case 37:
         case 38:
         case 39:
         case 40:
            var2 = this.Z;
            if (this.f() <= 1.0F) {
               var2.c(var2.h() + 2.0F);
               this.p += 2.0F;
            }

            if (this.g() <= 1.0F) {
               var2.d(var2.i() + 2.0F);
               this.q += 2.0F;
            }

            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.c(this);
               break;
            }

            var2 = zbul.d(this);
            break;
         case 61:
         case 62:
         case 63:
            var2 = zbul.a(this, false);
            break;
         case 66:
         case 67:
         case 68:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
            break;
         case 87:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.a(this.k(), this.j());
               break;
            }

            var2.a(this.v.f(), this.v.f());
            break;
         case 136:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.a(this.k(), this.j());
            }
            break;
         case 180:
            var2 = zbul.e(this);
            break;
         default:
            this.Z = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
            this.Z.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
            var2 = this.Z;
         }

         this.Z = var2;
      }

      this.aa = true;
   }

   private void V() {
      float var1 = this.h() - this.F().f();
      float var2 = this.i() - this.F().g();
      this.c(this.h() + var1);
      this.d(this.i() + var2);
      this.Z.a(this.Z.f() + var1);
      this.Z.b(this.Z.g() + var2);
   }

   public void G() {
      if (!this.aa) {
         this.W();
      }

   }

   public int H() {
      return this.ab;
   }

   public void i(int var1) {
      this.ab = var1;
   }

   int I() {
      return this.ac;
   }

   void j(int var1) {
      this.ac = var1;
   }

   int J() {
      return this.ad;
   }

   void k(int var1) {
      this.ad = var1;
   }

   int K() {
      return this.ae;
   }

   void l(int var1) {
      this.ae = var1;
   }

   int L() {
      return this.af;
   }

   void m(int var1) {
      this.af = var1;
   }

   int M() {
      return this.h.getLeft();
   }

   int N() {
      return this.h.getTop();
   }

   int a(int var1, int var2, int var3, int var4) {
      return this.h.d(var1, var2, var3, var4);
   }

   int b(int var1, int var2, int var3, int var4) {
      return this.h.c(var1, var2, var3, var4);
   }

   float O() {
      return this.ag;
   }

   void e(float var1) {
      this.ag = var1;
   }

   float P() {
      return this.ah;
   }

   void f(float var1) {
      this.ah = var1;
   }

   public zn Q() {
      return this.ai;
   }

   public void a(zn var1) {
      this.ai = var1;
   }

   public void ao() throws Exception {
      if (this.R()) {
         this.a(this.Q(), true);
      }
   }

   boolean R() {
      return this.H() == 20 || this.H() == 32 || this.F().h() > 0.0F && this.F().i() > 0.0F;
   }

   com.aspose.cells.b.a.b.zq S() {
      if (!this.aa) {
         this.W();
      }

      return this.k;
   }

   private void W() {
      this.k = this.k();
      switch(this.e()) {
      case 0:
         this.k = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
         this.k.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
         break;
      case 1:
         this.k = zbul.a(this);
         break;
      case 2:
         this.k = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
         this.k.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
         break;
      case 3:
      case 6:
      case 11:
      case 12:
         if (!this.m().a()) {
            this.k.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
         }
      case 4:
      case 5:
      case 9:
      case 10:
      case 13:
      case 14:
      case 15:
      case 16:
      case 17:
      case 21:
      case 22:
      case 23:
      case 26:
      case 27:
      case 28:
      case 29:
      default:
         break;
      case 7:
      case 18:
      case 20:
         this.k = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
         this.k.a(0.5F, 0.5F);
         break;
      case 8:
      case 24:
         if (!this.m().a()) {
            this.k.a(this.v.f(), this.v.f());
         }
         break;
      case 19:
         float var1 = 0.0F;
         if (this.t() != null && !"".equals(this.t())) {
            var1 = 12.0F;
         }

         this.k = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
         this.k.a(0.5F, 0.5F);
         this.k.b(this.k.g() - var1 / 2.0F);
         this.k.d(this.k.i() + var1 / 2.0F);
         break;
      case 25:
         this.k = zbul.b(this, true);
         break;
      case 30:
         com.aspose.cells.b.a.b.zq var2;
         switch(this.H()) {
         case 13:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.a(this.k(), this.l, this.a, this.j());
            }

            var2.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
            break;
         case 32:
            var2 = zbul.a(this);
            break;
         case 33:
         case 34:
         case 35:
         case 36:
            var2 = this.k;
            if (this.f() <= 1.0F) {
               var2.c(var2.h() + 2.0F);
               this.p += 2.0F;
            }

            if (this.g() <= 1.0F) {
               var2.d(var2.i() + 2.0F);
               this.q += 2.0F;
            }

            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.c(this);
               break;
            }

            var2 = zbul.b(this);
            break;
         case 37:
         case 38:
         case 39:
         case 40:
            var2 = this.k;
            if (this.f() <= 1.0F) {
               var2.c(var2.h() + 2.0F);
               this.p += 2.0F;
            }

            if (this.g() <= 1.0F) {
               var2.d(var2.i() + 2.0F);
               this.q += 2.0F;
            }

            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.c(this);
               break;
            }

            var2 = zbul.d(this);
            break;
         case 61:
         case 62:
         case 63:
            var2 = zbul.a(this, true);
            break;
         case 66:
         case 67:
         case 68:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
            break;
         case 87:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.a(this.k(), this.j());
               break;
            }

            var2.a(this.v.f(), this.v.f());
            break;
         case 136:
            var2 = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h(), this.k().i());
            if (this.j() > 0 && this.j() != 180) {
               var2 = zbul.a(this.k(), this.j());
            }
            break;
         case 180:
            var2 = zbul.e(this);
            break;
         default:
            this.k = new com.aspose.cells.b.a.b.zq(this.k().f(), this.k().g(), this.k().h() + this.v.f(), this.k().i() + this.v.f());
            this.k.a(this.v.f() / 2.0F, this.v.f() / 2.0F);
            var2 = this.k;
         }

         this.k = var2;
         if (this.H() == 20 || this.H() == 32) {
            if (this.q <= 1.0F) {
               this.k = var2;
            }

            if (this.p <= 1.0F) {
               this.k = var2;
            }
         }
      }

      this.aa = true;
   }

   public boolean T() {
      return this.aj;
   }

   public void j(boolean var1) {
      this.aj = var1;
   }
}
